package com.platform.common.core;

/**
 * @author guoyunfei on 2021/11/26 20:32
 * @className Constant
 * @description TODO
 * @Version 1.0
 */
public class Constant {

    public final static String PASSWORD = "12345678";

    public final static String API_OSS_TYPE = "api_oss_type";

    public final static Integer DAREN_PAGESIZE = 30;

    public final static String ORDER_NO_PREFIX = "DY";

    public final static String ORDER_YQ_NO_PREFIX = "YQ";

    public final static String ORDER_SYS_NO_PREFIX = "SYS";

    //提现
    public final static String ORDER_TX_PREFIX = "W";

    /**
     * 佣金奖励
     */

    public final static Integer PAGESIZE = 20;

    public final static Integer PAGESIZE_WALlPAPER = 18;

    public final static String MINI_ACCESS_TOKEN = "mini_access_token";

    public final static int MINI_ACCESS_TOKEN_TIME = 3600;
    //提现时间控制
    public final static int WITHDRAWAL_TIME = 60;

    //用户提现前缀
    public final static String WITHDRAWAL_USER_ID = "user_w:";

    //用户提现开关
    public final static String SWITCH_OPEN = "switch_open";

    //用户二级分类key
    public final static String TWO_CLASS_COUNT = "two_class_count";

    public final static int TWO_CLASS_COUNT_DEFAULT = 8;

    //视频格式后缀
    public final static String MINI_VIDEO_SUFFIX = "mp4";


    public static final String KS_LOGIN_URL = "https://open.kuaishou.com/oauth2/mp/code2session";

    public static final String BYTE_LOGIN_URL = "https://developer.toutiao.com/api/apps/v2/jscode2session";

    /**
     * 订单过期时间
     */
    public static final long ORDER_EXPIRATION_TIME = 900;
}
